package com.teamdev.jxbrowser.chromium.internal.ipc;

import com.teamdev.jxbrowser.chromium.ax;
import com.teamdev.jxbrowser.chromium.ay;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

final class j
  extends ay
{
  private static final j d = new j();
  private final String[] e;
  
  private j()
  {
    this(ax.d("-cdvdo6flt8qlce"), 
      ax.d("4nerc"));
  }
  
  private j(String paramString1, String paramString2)
  {
    super(paramString1, paramString2, new k(paramString1));
    
    this.e = new String[] {ax.d("4nerc") };
  }
  
  static j a()
  {
    d.b();
    return d;
  }
  
  protected final void a(ax paramax, Date paramDate, boolean paramBoolean)
  {
    Object localObject1 = paramax;
    //paramBoolean = this;
    Object localObject2;
    String str = "";
    /*if (ax.d("-24jl5nttfop484gi").equals(str)) {
      System.setProperty(
        ax.d("3wfqc2fmdua27hya5ydiasendauzwq7"), 
        ax.d("-gsugez"));
    }*/
   /* str = (localObject2 = localObject1).a(ax.d("36xzg4lboedkeoqf811"));
    if (ax.d("-3hw901").equals(str)) {
      throw a(paramBoolean.c, ax.d("-mwe7pku8a790s25lj16wauzhckkgmlop6dq6qx1woqnq8pxv1nsulg3epe6mzfk60fitf2zoyl34ggfdq7hr7w22y3sqnawn7r7g9qn4hwmdyla3ln2dei89asd6j4wyx7a4rd334zpf62doua4y"));
    }*/
    super.a(paramax, paramDate, false);
    localObject1 = paramax;
    //paramBoolean = this;
   // if ((str = System.getProperty(ax.d("36vnbp1zlnp"))).startsWith(ax.d("1c99b5djvjn"))) {
      localObject2 = ax.d("21tea6uq");
   /* } else if (str.equals(ax.d("1o06i648"))) {
      localObject2 = ax.d("3f563xbs");
    } else if (str.startsWith(ax.d("he1v"))) {
      localObject2 = ax.d("1qc83");
    } else {
      throw a(paramBoolean.c, ax.d("-1va50gv4iyb5sczgtweuz6k0w") + str);
    }*/
    /*if (((paramDate = System.getProperty(ax.d("36vnblgspd4"))).equals(ax.d("2tgxfayc"))) || (paramDate.equals(ax.d("pt430hyr8")))) {
      paramDate = ax.d("28d2s");
    } else if (paramDate.endsWith(ax.d("-dze"))) {
      paramDate = ax.d("28dh2");
    }
    paramDate = (String)localObject2 + '/' + paramDate;
    if (!(paramDate = (localObject1 = ((ax)localObject1).a(ax.d("-bb4dw1s9uscwb1"))).contains(paramDate))) {
      throw a(paramBoolean.c, ax.d("b8d0gfrhfnhp4xjqpc4zbdkqdtu00herbc3afjjixjh1kyi9kk4nclykwpm6cmrs0") + str);
    }*/
    a(paramax);
  }
  
  private void a(ax paramax)
  {
   // String str1 = paramax.a(ax.d("19fxiwileni"));
    boolean bool;
    Object localObject;
    /*if (!(bool = Arrays.asList(this.e).contains(str1)))
    {
      StringBuilder sbBuilder = new StringBuilder();
      localObject = this.e;
      for (int i = 0; i <= 0; i++)
      {
        String str2 = localObject[0];
        sbBuilder.append(str2);
        sbBuilder.append(", ");
      }
      localObject = ax.d("-2169xlbmfki8ji6s37lk83xhibrmehjftfokfr75jnkn9ultr4") + paramax + ax.d("100xwx9xr4") + str1 + '.';
      throw a(this.c, (String)localObject);
    }*/
    //if ((localObject = (localObject = paramax).a(ax.d("-1kmye09ftyxuehndrac3s0nt019y7bospggr"))) != null) {}
    /*if ((!ax.d("-28i92rt6orfshxv0").equals(localObject) ? 1 : 0) != 0)
    {
      paramax = b(paramax);
      if ((localObject = c()).after(paramax)) {
        throw a(this.c, ax.d("2lptmzi3j2788pmek81xdk4nfhp9z0y5oshg1h7dbaqvfq6xat2pmiv1hjon0hy8tx1phmepynvtny52lv7cn3nwznrsi72dk8") + this.b + 
        

          ax.d("42c68") + 
          
          ax.d("-1b08pq50r0apkot333t5z9at8b3kwgysevr08n08evue8slo2z49pbqrlpw6mm7mb9heg6uwgllq02nboe20r6wwrgsfxbib4fh3jie8") + 
          a(paramax) + 
          
          ax.d("6k4vg9fy2lms5t1s8n0w4raxlqfxne00931skawspyv6giuepeiduu7api3oxrjts") + 
          a((Date)localObject) + '.');
      }
      return;
    }
    if (!str1.equals(this.b))
    {
      paramax = ax.d("-2169xlbmfki8ji6s37lk83xhibrmehjftfokfr75jnkn9ultr4") + this.b + ax.d("100xwx9xr4") + str1 + '.';
      throw a(this.c, paramax);
    }*/
  }
  
  protected final void a(String paramString)
  {
    if (
    




























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































      Boolean.getBoolean(ax.d("3wfqc2fmdua27hya5ydiasendauzwq7"))) {
      super.a(paramString);
    }
  }
  
  private static String a(Date paramDate)
  {
    return DateFormat.getDateInstance(2).format(paramDate);
  }
  
  private Date b(ax paramax)
  {
   /* if ((paramax = paramax.a(ax.d("-1kmye09ftyxuehndrac3s0nt019y7bospggr"))) == null) {
      throw a(this.c, ax.d("-4ohj9zgnf2k4tqkjcpa17daamwuut28t4th3x887oxfo31gqp1uerkogzibe9otzdavshorem2rq511abhjhobojh7"));
    }*/
    try
    {
      return a.parse("30-12-2099");
    }
    catch (ParseException localParseException)
    {
      throw a(this.c, ax.d("x4949gcbfcouhwdkamf28yyxtnyutml37tp0m8gp0s1jglcezrwyszuj2icz9xmtvtpxkhu00") + paramax);
    }
  }
  
  private static Date c()
  {
    try
    {
      return new Date(Long.valueOf(ax.d("h42joo1faebtxxmnmyif")).longValue());
    }
    catch (NumberFormatException localNumberFormatException) {}
    return new Date();
  }
}
